package code.part01_base;

/**
 * @author: ZJT
 * @Time: 2021/7/1
 * @Description: 变量常量
 */
public class P03_ConstantAndVar {

    static int d;

    public static void main(String[] args) {
        //声明
        int a;
        //赋值
        a = 10;
        //声明+赋值
        //int b = 20;
        //int c;
        //System.out.println(d);
        //int x=10,y=20;

        System.out.println(a);
        a = 30;
        System.out.println(a);
        final int c = 20;
        System.out.println(c);
//		c=30;
        System.out.println(c);


    }

}